<%@ page language="java" pageEncoding="UTF-8" %>
<%@ include file="/pages/common/taglibs.jsp"%>
<tr>
	<td class="label cancelBorderLeft" style="width: 80px">采购：</td>
	<td class="content"  style="width: 360px">
		<table>
			<tr>
				<c:set var="_count" value="0" />
				<c:forEach varStatus="num" var="item" items="${users}">
					<c:if test="${item.type == 2}">
						<c:set var="_count" value="${_count + 1}" />
						<td>&nbsp;<input type="checkbox" value="${item.email}"
							id="u_${item.objectId}" name="users"
							style="vertical-align: middle;"></td>
						<td>&nbsp;<label for="u_${item.objectId}"
							title="${item.email}">${item.userName}</label></td>
					</c:if>
					<c:if test="${_count%5==0&&_count!=0 }">
			</tr>
			<tr>
				</c:if>
				</c:forEach>
		</table>
	</td>
</tr>
<tr>
    <td class="label cancelBorderLeft">生产：</td>
    <td class="content">
        <table>
            <tr>
                <c:set var="_count" value="0" />
                <c:forEach varStatus="num" var="item" items="${users}">
                    <c:if test="${item.type == 6}">
                        <c:set var="_count" value="${_count + 1}" />
                        <td>&nbsp;<input type="checkbox" value="${item.email}"
                            id="u_${item.objectId}" name="users"
                            style="vertical-align: middle;"></td>
                        <td>&nbsp;<label for="u_${item.objectId}"
                            title="${item.email}">${item.userName}</label></td>
                    </c:if>
                    <c:if test="${_count%5==0&&_count!=0 }">
            </tr>
            <tr>
                </c:if>
                </c:forEach>
        </table>
    </td>
</tr>
<tr>
    <td class="label cancelBorderLeft">财务：</td>
    <td class="content">
        <table>
            <tr>
                <c:set var="_count" value="0" />
                <c:forEach varStatus="num" var="item" items="${users}">
                    <c:if test="${item.type == 3}">
                        <c:set var="_count" value="${_count + 1}" />
                        <td>&nbsp;<input type="checkbox" value="${item.email}"
                            id="u_${item.objectId}" name="users"
                            style="vertical-align: middle;"></td>
                        <td>&nbsp;<label for="u_${item.objectId}"
                            title="${item.email}">${item.userName}</label></td>
                    </c:if>
                    <c:if test="${_count%5==0&&_count!=0 }">
            </tr>
            <tr>
                </c:if>
                </c:forEach>
        </table>
    </td>
</tr>
<tr>
    <td class="label cancelBorderLeft">业务：</td>
    <td class="content">
        <table>
            <tr>
                <c:set var="_count" value="0" />
                <c:forEach varStatus="num" var="item" items="${users}">
                    <c:if test="${item.type == 1}">
                        <c:set var="_count" value="${_count + 1}" />
                        <td>&nbsp;<input type="checkbox" value="${item.email}"
                            id="u_${item.objectId}" name="users"
                            style="vertical-align: middle;"></td>
                        <td>&nbsp;<label for="u_${item.objectId}"
                            title="${item.email}">${item.userName}</label></td>
                    </c:if>
                    <c:if test="${_count%5==0&&_count!=0 }">
            </tr>
            <tr>
                </c:if>
                </c:forEach>
        </table>
    </td>
</tr>
<tr>
    <td class="label cancelBorderLeft">其它：</td>
    <td class="content">
        &nbsp;<input type="text" name="otherUsers" id="otherUsers" size="50" title="多个邮件地址之间用分号(;)分割"/>
    </td>
</tr>